angular.module("app").controller("passport.send.Ctrl", ["$scope", "passport","$stateParams", function ($scope,passport,$stateParams) {
    $scope.searchData = {
        cardId: '',
        orderId: ''
    }
    passport.getList({}, {status: 20}, function (data) {
        $scope.passportInfo = data.data.data
    })
    $scope.search = function () {
        passport.getList({}, {status: 20, cardNo: $scope.searchData.cardId || null, num: $scope.searchData.orderId || null}, function (data) {
            $scope.passportInfo = data.data.data
        })
    }
}]);